home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
util
/
time
/
time_ma.lha
/
time.doc
< prev
Wrap
Text File
|
1997-03-07
|
2KB
|
103 lines
TIME - a program to measure the execution times of other commands
Documentation by Matthias Andree. See time.c for address.
Copyright:
see time.c for information.
archive must be unchanged for redistribution.
no fees except reasonable media costs must be charged.
redistribution for non-profit purposes only.
NO WARRANTIES. USE AT YOUR OWN RISK.
Requirements:
OS 2.04 (V37) or newer.
Installation:
copy it somewhere in your command path.
Usage:
(shell only)
SYNTAX:
-------
TIME [REPEAT <n>] [FAILAT <m>] COMMAND <command and arguments>
TEMPLATE:
---------
R=REPEAT/K/N,F=FAILAT/K/N,C=COMMAND/A/F
KEYWORDS:
---------
REPEAT: (optional, keyword must be specified, defaults to 1)
tells Time how often it it supposed to issue the command. The higher
this value, the higher the accuracy.
FAILAT: (optional, keyword must be specified, defaults to 10)
tells Time what return code should be considered a "FAIL". The time
that the command took is only shown if the command did not fail.
COMMAND: (mandatory, rest of line)
tells what command and options are to be used. Please enclose in
double quotes if you want to specify input/output redirection for
the command to be issued. Input and output default to NIL:
EXAMPLES:
---------
TIME REPEAT=17 FAILAT=21 COPY S:STARTUP-SEQUENCE RAM:
TIME SORT ADRESSES.TXT
Time suppresses any "insert volume xxx: into any drive" and similar
system requesters.
The output of the command that is to be checked is redirected to NIL:
by default. If you still want to see it, type e. g.
TIME "TYPE S:STARTUP-SEQUENCE >CONSOLE:"
that means enclose the command in quote marks and add a redirection to
*, PRT:, CONSOLE: or wherever else you like it.
Development environment:
SAS/C 6.57 by SAS Institute, Inc.
GoldEd 4.5.1 by Dietmar Eilert
History:
See time.c for history
Regards to:
Stefano Reksten for time v1.2
Oliver B. Warzecha
Stefan Ruppert for bug reports